home *** CD-ROM | disk | FTP | other *** search
/ Champak 52 / Volume 52 - JOGO DISK .iso / Games / scoobybigair.swf / scripts / frame_25 / PlaceObject2_445_161 / CLIPACTIONRECORD onClipEvent(enterFrame).as
Text File  |  2007-10-01  |  583b  |  35 lines

  1. onClipEvent(enterFrame){
  2.    if(Key.isDown(37))
  3.    {
  4.       _global.trickCont.KeyLeft = true;
  5.    }
  6.    else
  7.    {
  8.       _global.trickCont.KeyLeft = false;
  9.    }
  10.    if(Key.isDown(39))
  11.    {
  12.       _global.trickCont.KeyRight = true;
  13.    }
  14.    else
  15.    {
  16.       _global.trickCont.KeyRight = false;
  17.    }
  18.    if(Key.isDown(38))
  19.    {
  20.       _global.trickCont.KeyUp = true;
  21.    }
  22.    else
  23.    {
  24.       _global.trickCont.KeyUp = false;
  25.    }
  26.    if(Key.isDown(40))
  27.    {
  28.       _global.trickCont.KeyDown = true;
  29.    }
  30.    else
  31.    {
  32.       _global.trickCont.KeyDown = false;
  33.    }
  34. }
  35.